load("@io_bazel_rules_go//go:def.bzl", "go_test")

go_test(
    name = "prepare_test",
    timeout = "short",
    srcs = [
        "main_test.go",
        "prepare_test.go",
    ],
    flaky = True,
    shard_count = 41,
    deps = [
        "//errno",
        "//executor",
        "//expression",
        "//infoschema",
        "//kv",
        "//metrics",
        "//parser",
        "//parser/auth",
        "//planner/core",
        "//session",
        "//sessionctx/variable",
        "//testkit",
        "//testkit/testsetup",
        "//util/hint",
        "@com_github_prometheus_client_golang//prometheus",
        "@com_github_prometheus_client_model//go",
        "@com_github_stretchr_testify//require",
        "@org_uber_go_goleak//:goleak",
    ],
)
